package cc.autoapi.pucong.auto.flow.persistence.utils.jdbc;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author pucong
 */
public class ExeSqlResult<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private T result;
    private List<T> resultList = new ArrayList<>();

    /**
     * 执行耗时 秒
     */
    private Double execTime;

    public List<T> getResultList() {
        return resultList;
    }

    public void setResultList(List<T> resultList) {
        this.resultList = resultList;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public Double getExecTime() {
        return execTime;
    }

    public void setExecTime(Double execTime) {
        this.execTime = execTime;
    }
}
